#ifndef SETTINGS_H
#define SETTINGS_H
#include <QString>
#include <QSettings>
#include <QSize>
#include <QPoint>
#include "Common.h"

class Settings : public QSettings
{
public:
    Settings();
    bool EncryptPassword(QString email, QString password);
    QString DecryptPassword(QString email);
    bool SetValueForKey(QString key, QVariant value);
    QVariant GetValueOfKey(QString key);
    void DelKey(QString key);
    QStringList AccountsList();

private:
    QSettings set;

};

#endif // SETTINGS_H
